Ext.onReady(function() {
	Ext.Msg.alert('',Ext.util.Format.date(new Date(),'Y-m-d g:i:s A'));


	var msgBox = Ext.Msg.show({
		title:'dynamic title',
		msg:'dynamic msg',
		buttons:Ext.Msg.OK,
		fn:function() {
			Ext.TaskManager.stop();
		}
	});//end of var msgBox
	
	var task = {
		run : function() {
			msgBox.updateText('dynamic time : ' + Ext.util.Format.date(new Date(),'Y-m-d g:i:s A'));
		},
		interval:1000
	}//end of var task
	
	
});//end of Ext.onReady